﻿<cfsilent>
	<cfscript>
		
		menuArgs = structNew();
		
		if ( event.isArgDefined("ES") ) structInsert(menuArgs, "ES", event.getArg("ES"), true);
		
		classStep01 = classStep02 = classStep03 = "";
		classStep04 = "lastStep";
		
		if ( event.getRequestName() eq "evaluateSystemSetupWizard" ) {
			classStep01 = listAppend(classStep01, "current", " ");
		}
		
		if ( event.getRequestName() eq "evaluateSystemSetupWizardQuestion" ) {
			classStep01 = listAppend(classStep01, "lastDone", " ");
			classStep02 = listAppend(classStep02, "current", " ");
		}
		
		if ( event.getRequestName() eq "evaluateSystemSetupWizardPreview" ) {
			classStep01 = listAppend(classStep01, "done", " ");
			classStep02 = listAppend(classStep02, "lastDone", " ");
			classStep03 = listAppend(classStep03, "current", " ");
		}
		
		if ( event.getRequestName() eq "evaluateSystemSetupWizardCourse" ) {
			classStep01 = listAppend(classStep01, "done", " ");
			classStep02 = listAppend(classStep02, "done", " ");
			classStep03 = listAppend(classStep03, "lastDone", " ");
			classStep04 = listAppend(classStep04, "current", " ");
		}
		
		
	</cfscript>
</cfsilent>

<div class="UIWizard clearfix">
	<ul class="fourStep stepNavigation">

		<li class="<cfoutput>#classStep01#</cfoutput>"><a <cfif listFind(classStep01, "current", " ") >href="<cfoutput>#buildURL('evaluateSystemSetupWizard', menuArgs)#</cfoutput>"</cfif>><em>模式/阶段</em><span>评价体系阶段和指标分级</span></a></li>
		<li class="<cfoutput>#classStep02#</cfoutput>"><a <cfif listFind(classStep02, "current", " ") or listFind(classStep03, "current", " ") or listFind(classStep04, "current", " ") >href="<cfoutput>#buildURL('evaluateSystemSetupWizardQuestion', menuArgs)#</cfoutput>"</cfif>><em>问题组织</em><span>设置评价体系题目和选项</span></a></li>
		<li class="<cfoutput>#classStep03#</cfoutput>"><a <cfif listFind(classStep02, "current", " ") or listFind(classStep03, "current", " ") or listFind(classStep04, "current", " ") >href="<cfoutput>#buildURL('evaluateSystemSetupWizardPreview', menuArgs)#</cfoutput>"</cfif>><em>评价体系预览</em><span>预览教学评价问卷</span></a></li>
		<li class="<cfoutput>#classStep04#</cfoutput>"><a <cfif listFind(classStep02, "current", " ") or listFind(classStep03, "current", " ") or listFind(classStep04, "current", " ") >href="<cfoutput>#buildURL('evaluateSystemSetupWizardCourse', menuArgs)#</cfoutput>"</cfif>><em>发布</em><span>设置评价体系对应的课程</span></a></li>
	
	</ul>
</div>
